Type.registerNamespace("BM");BM.CulturalContext=function(a){this.formattings=a.Formattings};BM.CulturalContext.prototype={getFormat:function(b){var a=this.getSpecificFormat(b);if(a!=null){return a}return this.getDefaultFormat()},getSpecificFormat:function(c){for(var a=0;a<this.formattings.length;a++){var b=this.formattings[a];if(b.DataType==c){return b.CultureInvariantFormat}}return null},getDefaultFormat:function(a){return this.getSpecificFormat(0)}};